
** CopelovitchISQ
 use "IMFdataMSC.dta", clear

 ccode country , from(cty) to(cow) gen(ccode)
 replace ccode = 347 if country=="Serbia & Montenegro"
 sort ccode year
merge m:1 ccode using cites.dta 
drop if _m==2 
drop _merge

gen cites = year>=citesyr

gen study = ""
foreach n in orig noth fe time fet ct yfe cyfe {
gen method_`n' = ""
gen dv_`n' = ""
gen b_cites_`n' = .
gen se_cites_`n'= .
gen pval_cites_`n' = .
gen lo_cites_`n'=.
gen hi_cites_`n'=.
gen N_cites_`n'=.
}
gen studynum=.
gen timetrend=""
qui do cites.do

local ii = 1
* Model 1
logit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks date liqratio review crises libor meast africa ///
eurasia americas easia lastloan loansp1 loansp2, cluster(code)
cites `ii' orig
logit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia , cluster(code)
cites `ii' noth
xtlogit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia , fe
cites `ii' fe
logit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks date liqratio review crises libor meast africa ///
eurasia americas easia lastloan loansp1 loansp2, cluster(code)
cites `ii' time
xtlogit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia lastloan loansp1 loansp2, fe
cites `ii' fet
logit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia i.code#c.date lastloan loansp1 loansp2, cluster(code)
cites `ii' ct
xtreg imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia i.year , fe vce(cl ccode) 
cites `ii' cyfe
clogit imfloan cites covg5bank g5bank usshare-frshare /*g5s*/ covs gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  liqratio review crises libor meast africa ///
eurasia americas easia , group(year) vce(cl year)
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="splines" if _n==`ii'
local ii=`ii'+1
* Model 2
xtset code year
xtpcse amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises libor _pscore ///
ctr*, pairwise
cites `ii' orig
xtpcse amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises libor _pscore ///
, pairwise
cites `ii' noth
xtreg amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises libor _pscore ///
, fe vce(cl ccode) 
cites `ii' fe
xtpcse amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises libor _pscore ///
, pairwise
cites `ii' time
xtreg amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises libor _pscore ///
date, fe vce(cl ccode) 
cites `ii' fet
xtpcse amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks i.code#c.date liqratio review crises libor _pscore ///
, pairwise
cites `ii' ct
xtreg amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises libor _pscore i.year ///
, fe vce(cl ccode) 
cites `ii' cyfe
xtreg amtqta cites g5bank covg5bank usshare-frshare mns covs pastloan gdp gdppc growth /// 
currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises libor _pscore ///
date, fe i(year) vce(cl year) 
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 3
xtset code year
xtpcse amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises ///
libor _pscore ctr*, pairwise
cites `ii' orig
xtpcse amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , pairwise
cites `ii' noth
xtreg amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , fe vce(cl ccode) 
cites `ii' fe
xtpcse amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises ///
libor _pscore , pairwise
cites `ii' time
xtreg amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore date, fe vce(cl ccode) 
cites `ii' fet
xtpcse amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks i.code#c.date liqratio review crises ///
libor _pscore , pairwise
cites `ii' ct
xtreg amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore i.year , fe vce(cl ccode) 
cites `ii' cyfe
xtreg amtgdp cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , fe i(year) vce(cl year) 
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1

* Model 4
xtset code year
xtpcse amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises ///
libor _pscore ctr*, pairwise
cites `ii' orig
xtpcse amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , pairwise
cites `ii' noth
xtreg amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , fe vce(cl ccode) 
cites `ii' fe
xtpcse amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks date liqratio review crises ///
libor _pscore, pairwise
cites `ii' time
xtreg amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore date, fe vce(cl ccode) 
cites `ii' fet
xtpcse amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks i.code#c.date liqratio review crises ///
libor _pscore, pairwise
cites `ii' ct
xtreg amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore i.year, fe vce(cl ccode) 
cites `ii' cyfe
xtreg amtsdr cites g5bank covg5bank covxbank usshare-frshare mns covs covxs pastloan gdp ///
gdppc growth currgdp edtgdp tdsxgs stdres crash checks  liqratio review crises ///
libor _pscore , fe i(year) vce(cl year) 
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 5
xtset code year
xtpcse amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks date liqratio review crises libor _pscore ctr*, pairwise
cites `ii' orig
xtpcse amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks  liqratio review crises libor _pscore , pairwise
cites `ii' noth
xtreg amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks  liqratio review crises libor _pscore , re
cites `ii' fe vce(cl ccode) 
xtpcse amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks date liqratio review crises libor _pscore , pairwise
cites `ii' time
xtreg amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks  liqratio review crises libor _pscore date, re  vce(cl ccode) 
cites `ii' fet 
xtpcse amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks i.code#c.date liqratio review crises libor _pscore , pairwise
cites `ii' ct
xtreg amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks  liqratio review crises libor _pscore i.year, fe  vce(cl ccode) 
cites `ii'  cyfe
xtreg amtqta cites usbank usshare uss pastloan gdp gdppc growth currgdp edtgdp tdsxgs ///
stdres crash checks  liqratio review crises libor _pscore , fe i(year)  vce(cl year) 
cites `ii' yfe 
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1

* Model 6
xtset code year
xtpqml pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' orig
poisson pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' noth
xtpqml pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' fe
poisson  pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtpqml pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor date, i(code) fe
cites `ii' fet
poisson  pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks i.code#c.date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' ct
xtpoisson pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor i.year, i(code) fe vce(r)
cites `ii' cyfe
xtpqml pc cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, fe i(year)
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 7
xtset code year
xtnbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' orig
nbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, vce(cl ccode)  
cites `ii' noth
xtnbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' fe
nbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtnbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' fet
nbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks i.code#c.date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' ct
xtnbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor i.year, i(code) fe
cites `ii' cyfe
xtnbreg pa cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(year) fe
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 8
xtset code year
xtnbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' orig
nbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, vce(cl ccode)   
cites `ii' noth
xtnbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' fe
nbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtnbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(code) fe
cites `ii' fet
nbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs lastloan loansp1 ///
loansp2 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks i.code#c.date _pscore ///
liqratio review crises libor, vce(cl ccode) 
cites `ii' ct
xtnbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor i.year, i(code) fe
cites `ii' cyfe
xtnbreg bt cites covg5bank g5bank covxbank usshare-frshare mns covs covxs  ///
 gdp gdppc growth currgdp edtgdp tdsxgs stdres crash checks  _pscore ///
liqratio review crises libor, i(year) fe
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 9
xtset code year
xtpqml pc cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks date _pscore liqratio review crises libor, i(code) fe
cites `ii' orig
poisson pc cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' noth
xtpqml pc cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(code) fe
cites `ii' fe
poisson  pc cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks date _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtpqml pc cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor date, i(code) fe
cites `ii' fet
poisson  pc cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks i.code#c.date _pscore liqratio review crises libor,  vce(cl ccode) 
cites `ii' ct
xtpoisson pc cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor i.year, i(code) fe vce(r)
cites `ii' cyfe
xtpqml pc cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(year) fe
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 10
xtset code year
xtnbreg pa cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks date _pscore liqratio review crises libor, i(code) fe
cites `ii' orig
nbreg pa cites usbank usshare uss  gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' noth
xtnbreg pa cites usbank usshare uss gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(code) fe
cites `ii' fe
nbreg pa cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks date _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtnbreg pa cites usbank usshare uss gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  _pscore liqratio review crises libor date, i(code) fe
cites `ii' fet
nbreg pa cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks i.code#c.date _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' ct
xtnbreg pa cites usbank usshare uss gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  _pscore liqratio review crises libor i.year , i(code) fe
cites `ii' cyfe
xtnbreg pa cites usbank usshare uss gdp gdppc growth currgdp ///
edtgdp tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(year) fe
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
* Model 11
xtset code year
xtnbreg bt cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks date _pscore liqratio review crises libor, i(code) fe
cites `ii' orig
nbreg bt cites usbank usshare uss  gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' noth
xtnbreg bt cites usbank usshare uss gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(code) fe
cites `ii' fe
nbreg bt cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks date _pscore liqratio review crises libor, vce(cl ccode) 
cites `ii' time
xtnbreg bt cites usbank usshare uss gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor date, i(code) fe
cites `ii' fet
nbreg bt cites usbank usshare uss lastloan loansp1 loansp2 gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks i.code#c.date _pscore liqratio review crises libor, vce(cl ccode)  
cites `ii' ct
xtnbreg bt cites usbank usshare uss gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor i.year, i(code) fe
cites `ii' cyfe
xtnbreg bt cites usbank usshare uss gdp gdppc growth currgdp edtgdp ///
tdsxgs stdres crash checks  _pscore liqratio review crises libor, i(year) fe
cites `ii' yfe
replace studynum = `ii' if _n==`ii'   
replace timetrend="year" if _n==`ii'
local ii=`ii'+1
replace study = "Copelovitch ISQ" if studynum~=. 	

keep study-timetrend
drop if studynum==.
compress
save copelovitch.dta , replace
